<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel='stylesheet' href='../stylesheets/style.css' />
</head>
<body>
    <!-- 读取公共模板 -->
    <%- include("./index.ejs") %>
    <h1>上面是读取模板</h1>
    <a href="url/123">one</a>
    <div id="a">
        <% for(var i=0;i<title.length;i++){ %>
            <span><%=title[i]%></span>
        <% } %>
    </div>
    <div>
        <% for(var key in obj){ %>
            <p><%=key%> <%=obj[key]%></p>
        <% } %>
    </div>
</body>
<script src="../js/jquery-3.2.1.min.js"></script>
<script>
    // $('#a').load('/url/123',function(data){
    //     // console.log(data)
    // });
</script>
</html>